package com.ch3cooh.server2.controller;

import com.ch3cooh.api.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @Autowired
    UserService userService;

    @RequestMapping("/login")
    public boolean login(){
        System.out.println("debug一下");
        return userService.login();
    }

}
